fix bug for modifyservice