fix get_sensor int* -> char