Bug fixes in Request class