fixed bug selecting tab items