fixed invalid value of "card" js object