repair usr/template