fix the admin page log bug