fix feature macros