tables fix for reports