fix table model