(fix) server error and client error