Err cmplx format

Same for all places, raise function when you know the structure is not good.