fixed param extraction from request