You should check that you are not yet in an entity.