remove never uesed temporary variables