implement show_metatable; correct show_x logic in table