fixing host device stuff