fix sim parsing