Revert "Revert "fixed minor add admin bug""

This reverts commit 1f53b44b0de627d2353486013637c3d8dac30640.