replace hardcoded entity