Fixed errors in Request module