fixed bug with adding amino acids in the middle of the chain