Fixing keyword argument repeated error.