fixed titleAttr not always set ing IndexController