fixed missing Tpl error message bug (again)