fixing a warning