limit and reconnect for indexing
save last module id