bug in procrustes templating