fixed naming of residues