fix for index map/reduce remove first line
fix for deleting multiple indexes
handle method index queries