Fix models syntax error