fixed before/after prob output