fix controllers' bug