fixed indexing error in comm_confirm