Disable set encoding
Refactor