fixed showing duplicate tables