fix a updateall bug in forward.go