Fix the title crash bug