fixed naming bug in client