condition for nothing in the second tab