new-style object fix