Clear and prevent submit api  options added