simplify conversion of input value types
fix typo in exmaple input file