fix new card errors