fix idcard bug