change enum order to be compatible with hardware