fixed weird tables not created problem