errors fixed in client