fixed models parsing.