setting default value for operator if missing