Fix warning message when setting parameter.