fix location bug in log_parser.py