fix closing form tag placement