corrected a mistake in practice method in cards controller