Everything is working except a wierd error when cards run out