fix an NPE during polymer initialization
Merge pull request #1355 from devoncarew/devoncarew_polymer_mpe

fix an NPE during polymer initialization