change how the constants are defined to avoid warnings