fix params in request