Fixed messages template for core if