fixed the initial repl error
clean up of log messages