MMPBSA bug fix