remove keys and tokens