removing errors on index page