Fix js error for null to_title [ci skip]