fix error when editing an existing argument