classes.php: dropItem method now returns null if name search is failed