Changed language title check to correct format