correctly get title