fixed that user service can not under cli mode.