fix to editing card