squash npe
same treatment for union types for #596