fixed range issue in pixelate module