cleans up formating