Fix parser eating parts of the string