key will be restored if already created