Fix scanner to read string data type