client bug fix