Fix request handling.