Fixing warning message display.