Bug fixing redirect from a controller