added pointer warp patch