fix: Fixed an error when a tableId isn't set in config