improve auto advance