fixing MIN and MAX in flanger