Fixed so doesn't delete the key on success