bug fixing, adjust card width