some fixes to Object