removing unnecessary code
Merge pull request #114 from yc662/cleanup

Unnecessary code in createIndex, dropIndex and indexes