remove unnecessary if statement in roc computation