move fixParsedValue method to type object