Clean up third dimensions table