bugfix in client controller