cleaning up tabs