added pixelvar checker