fix bug for running bin/dowwner