minor changes implemented for a MarkLogic 4.2 host