corrected two minor bugs in the computation of the acceptance