fixing some tab issues