fix fallout from invalid map key type error