temp fix for resizing