fixed the typing of scenarios