modify index register
Merge branch '13072905' into master-angularfire