sorted encoding issue when exporting to sql db
clean up