display scopes in error