enum protected fix