corrected the form to send the correct task id