fixed table not being closed, derp