removed request_path() and moved it back into dispatch()