fixed a small Client bug