Removed redundant source code in the code page detector and something like that