fixed warning on admin page