fix for context cf_use_dev flag