Made further resizing adjustments