fix res controler order