fix an issue with parsing
add nModels option. close #8