fixing introduced compile errors on tables