fix panorama demo