Fix retention of the raw key.