fix recode problem on commands