fixed the empty document problem