eliminate warning when no uid and admin