fix some bug after adding tabs and dropdown