fixing edit card