refactor the render part of mult_submits