added exception handling for backend configuration