remove unnecessary convert_entities