fix onlinereg bugs
Merge branch 'develop'