Removed superfluous code in ai reading.