Fix null value for collection name because of forward referencing.