Fixed showing errors in the admin page