little fixes

fixed tags indexing and use new map reduce api