repaired dynamic table