hot fix - empty query to object