take out rootkey