fixed server admin code