fix way to get stopdate from gadget form