only set imf if the key is capable of it