fixed bug that hides log_file being null in options