little modify on dexopt