Branch amount is incorrect in PDF because it throws errors of a=b is removed