free some variables