fix crash in signature check and autoboot parser