attempted fix for nick foleys debug issue.