change auto-reg layout