fixed econding error on bootstrap