fix querying one object