moved controller to action debug