reverting to index page with warning messages