fixed some error while creating enhancements