fixes tab/whitespace issues - thanks to www.dirtymarkup.com