card resizing works