warning message not displayed on my webpage