resizing for associations