fix brackets, check floats and widows in chp 1-3