Remove temporary value in done function