nfp: check the right pointer for errors