fix eror panel for admin auth