updates to client.. fixed exception error