table: fix type setting when opening
table: add some info fetching