fix return code, single files