thread safe

fast enum crash