Fix duplicate kwarg bug in 1.4