fix misplaced form tag in results page