fix bug when entering page without title markup