fix error when no proxy argument provided