Necessary changes in replacing pixelwand