removed debug to stdout