changed the way to display the merge page