added trace outputs for Issue#27