normalizes the tabs