make PublicHD 0.5.15 compatible