fix base object init bug