work around an EMF bug