Fix dynamically built up errors
Fix dynamically built up errors

fixes #1653 on github

RickMohr/otm-core,RickMohr/otm-core,recklessromeo/otm-core,clever-crow-consulting/otm-core,recklessromeo/otm-core,recklessromeo/otm-core,recklessromeo/otm-core,RickMohr/otm-core,clever-crow-consulting/otm-core,RickMohr/otm-core,clever-crow-consulting/otm-core,clever-crow-consulting/otm-core,maurizi/otm-core,maurizi/otm-core,maurizi/otm-core,maurizi/otm-core