Fix panic.