remove unneeded tabs