fix index on main module table