added some checks for the readed heder in impl V1Kpdb. Moreover the lib will not panic on failure but return just the error as a V1KpdbError