fixing reguseriter
fixed useriter
Merge pull request #40 from chasesp/master

fixing reguseriter