attempt to fix enum fw declaration - seems to be compiler dependent