bug with isemptyobject