removed redundant import of mergepatch