Fixed syntax error for stack