fixed bug with request size