fix slash encode problem in doc id, monir code changes