adding tabs works but now errors