fix enum fw declare compile issue