fix spurious panic