pud: improve error handling when going to a section