Fixing editParameters to use the initial value correctly