fix crash on save 1214884. I'm not sure how portalp gets corrupted still ... but doing this at least stops the crash.