fix toppage in tab