fixed TObject support
more fixes for object types