correct the number of args, send reply to client