another fix to warning message formatting