resolved syntax error on stackModel