fixing compat to handle missing preserve/reattach class members