warn message optimization