support MagicNumber for orders