fixed bond handling when editing coordinates