pud: minor fix in the function reading the position file