Renamed final sm state to "CleanUp"