release those resources