fixes to a couple copy and paste errors in the client