csv cleaning function, fixing trail on Form API _page func