fixed container resizing issue