Fixing bug in running of document converter