fix some bugs with sens