move setting to extension