fix for asynchronous responses of the router