Fix failed to parse heardocument