Fix character for empty document