Fixed some bugs in protein_synthesis