remove unnecessary kwarg