validate tab exist