fixes to the SBG model