refactor global title