Thank you for sharing your information. Actually, I have not had such a problem before and I just found a solution by rule of thumb after reading inplace definition doc. Your approach is the conventional one.
Good luck