correctly handle DBRef