fixed resizing in examples