[fix] correcting a bug with the parsing of the received line