Check for vacuum leaks. Large enough vacuum leaks give the engine a lopey idle.