fixed dip validation