minor dal rewrite in real_referenced