If your Corolla is a GLi, please have the Idle Air Control Valve checked. This gets dirty over time.