tab control partially working