crash early on bad pem