Fixed a bug that reads only the first string