added hg18 support