fix an npe
Merge pull request #1827 from devoncarew/fix_npe

fix an npe