missing $sim variable triggered Notice in BosWar -fixed