card delete fix