remove array while sending single value from form