Fix a bug in the source terms calculation, but still have nonsense