cleaning some variables