Fixes poor error message when no template is given. Instead use default field