removes duplication
Merge pull request #1376 from gmarik/patch-1

removes duplication