Fixed crash when haven't to-many objects