Fixed #5 by throwing an  exception when it finds a non terminated string