fixed enum incompatibility