Make duplicate template error message like devel