add cleanup for stage