fix ActionManager to pass test