Edited client

Small fix to a .h file and added a + 1 in the cpp file