Fix default options replacement that caused IDE errors