fixed resizing the field