fix setting scope.editMode variable when faking action results