add primary to allPropsNull