fixed bug when an object does not have coordinates