Fixing type table reference