modify average contrast

modify average contrast