remove main controller