fixed unsinged int issue in rsh bitext