ril fixes
ril fixes and a few other things