Fix bug and set log level to info