double encode mistake