fix P crash in inv