fixed Exception handler
added context path for app config