fixing referenced_by