fixed a problem that may have come later on more difficult sheets. Got rid of all the warnings as well