fixed Warping bugs
bug fixing in warp toggling