fix npes
helper function
Merge pull request #4 from pantheon-systems/fix_npe_again

fix npes