metatable being overwritten