fix for tables