fixbugs about log_typer