remove duplicate code in consequent lines
Merge pull request #792 from basho/bugfix/call-twice

remove duplicate code in consequent lines