problem with BLK residues using multiple templates