Change error message if template was not found