changed gettab method and fixed some contentnavigation issues