fixed typeo encoded to encoding