Fix tryToParse