clean Tab controller + last tab