Fixed the tabcontrol