Move final action to the last action