fix delete credit