remove useless entity class