Fix current admin bug when the first creating db.