modify read_complex