buaazp: 1.remove unused extern 2.default amdin error page