Correct formatting of warning messages