small bugs revised in renren.py