Fixed bug in creating new request object