more debugging of referentials