fix panorama switch