DispatcherRequestHandler code modified