Fix bugs caused by support.

Remove useless variables in read_data.py