fix an odd enum bug?