fix isAdmin