fixes the contents tabs