fixed tab bug