general tidy up of extra lines/tabs