fixed tables not created on first start