Fixed bug in request helper