Revert "Revert "metatable being overwritten""

This reverts commit 5c706ae4f647cf34e7d3eb0c3eefc1f9e86a0322.