Edit card fix