removes redirect and does jankyness with form submission