fixed table resizing issue