preserve table attrs