fix tabbing bug