fixed some admin bugs