bugfix in cross validator with dictionary features