Effects of water quality changes on macrobenthos