fixed title detection