mercury for edit locals