fix smardcard