fix bellman_ford