fixing controller's method bug on Dispatcher