Fix edit service details bug.