remove unnecessary parameter.