res_controller; getting things working again