fix check user error issue