fixed title being replaced