fix setting sensor profile.