fix the automated sending of the form