fix req/res