fixed errors
client fix