added some resizing changes