close #1761 delete a scenario, some better error reporting