fix SyntaxError: keyword argument repeated