Remove unnecessary encode processing