removed debug output that could trigger attribute error