remove one print
replaced some prints with logging