bugfix for binlog dump command