fixing tabbing bug