diff --git a/cmd/clients.go b/cmd/clients.go
index 574e031a891ff6a200c83533a80fb53af2a3d124..ba1da9ad4b11e8577efc864725c0380618240829 100644
--- a/cmd/clients.go
+++ b/cmd/clients.go
@@ -21,7 +21,7 @@ var clientsCmd = &cobra.Command{
 		filter := bson.D{}
 		if fixedIp {
 			filter = bson.D{
-				bson.E{"$and", bson.A{
+				bson.E{Key: "$and", Value: bson.A{
 					bson.M{"use_fixedip": bson.M{"$exists": true}},
 					bson.M{"use_fixedip": bson.M{"$eq": true}},
 				}},
@@ -29,8 +29,8 @@ var clientsCmd = &cobra.Command{
 		}
 		if dynamicIp {
 			filter = bson.D{
-				bson.E{"$or", bson.A{
-					bson.D{{"use_fixedip", bson.M{"$not": bson.M{"$exists": true}}}},
+				bson.E{Key: "$or", Value: bson.A{
+					bson.D{{Key: "use_fixedip", Value: bson.M{"$not": bson.M{"$exists": true}}}},
 					bson.M{"use_fixedip": bson.M{"$ne": true}},
 				}},
 			}