keys shim: use enumBug flag