bug fix: check for modification before adding/removing parameters