Fixed problem with extra \n when submitting