fix model : syntax errors