fixed tab null issue