fixed makeObject