fix table duplication