fixed user registration warning on admin