changet res_controller when get res