Fixes request handling.