fixed bug that kept template parsing errors from being displayed