check if table exists before initializing lit - should solve deploy problems