Fixed namespace method to be able to use controller inside modules