Fixing warning template
adding warning messages