fixed some scaling issues for the flex tables