Syntax error in models that needed to be fixt