fixing a warning in 2.1.0