fix clientcontroller