Add more debug to understand the 'end of input' error. Ref #15