fix issue with auto-advance (closes #273)