fixed Tab bug