Tab select function well donw