Fixed bugs in 'abdocout'