correction coo chain_to_coord