modify get next action