fix fail on admin setup(null pointer exception)