fixed a bug in prefer_extension handling that would always enable the feature