changed the error message getting inside the all page