fix params problem