fixed get title in pre