Fixed Bug in cardcontroller i++
initialized CardController