fixed the tab v space bug