remove never uesed temporary variables

remove never uesed temporary variables