minor fixes to client