fix bellman ford