bug fix: missing host to device transfer