revert in translate dark mode