BUG Fix issue with populateDefault breaking during dev/build

Fixes #139