fix card password bug