AS I said the program was kind of hacked together from another program, the program analyses a poker hand history.
IT worked on one site so I hacked it about to get it to work another site, but it was not designed to work on that site
so perhaps no surprise it has an issue, more surprising it worked in the first place.