fix parsing of TSL