fix bad mode in binary log conversion