modify to scramble error