fixing card width and height