fixed console varible to card function apply to player