fix client error