Update user_remote.c

Maybe this solution is better