Fix formatting of warning messages