minor changes to client