fixed log level to use debug