fix error in reading inertial data from MTB - add cast