Fix error Arguments with default values must be at the end of the argument list