fix cdr_realtime view + template