fix code artifacts that should be renamed on template creation