fix bug found by @ramnathv in if statement in findBower