fix log parsing error