fixed rippling bugs