fixed bug in reporting of prefix errors