spo: lab4 fixed delimiter detection