support latest version of pangolin.