Correct error in material balance equations