Solving the scenario Error