fixed mxn diagram current_eps_idx bug