resolved resizing issue