fix server controller's bug