(hopefully) fixed loader crash when document parses but emits no words