bug fix with add client