compilation fix for tpimporter