Fix a bug that can't handle correct ReadLine class

Fix a bug at @7753e6b

simple mistake ... sorry