autopair as submodule