Actually, C-n and C-p for ac-mode was wrong.