fixing req/res