set default for entities