clean up some nasty formatting