client add bug fix