fixed #84, removed debug output