8/11/12 by Adam: fixed disulfide bridge problems