Fix cleanup, define last_release