fix service when appear exception