fixed bug where request method param to dispatch() is not being used