fixing a bug that can cause DCAPaperTrail not to log