Fixed request object processing, had a small bug