tab fixes

tab states working