Fix panic ennumeration