fixing last bug in bwm