remove refTable