fix the vicious bug that was bringing the house down