fix a bug of provided card