handle incomplete header