overload for RemoveLastAction