minor changes in client sample