Fix a bug on the handlings of parameters.