Correct build and error in utils/template