panorama: fixed undefined value