change #define with enum$