fix freepano callback