update gamma setting from [XZ-kernel]