fixed forward_over_backward propagation