Syntax error in model fixed