web application exceptions fix