fixes for issues related to resizing