fix rinit bugs.
fix author s info
Merge pull request #12 from walu/master

merge with walu