fixed cache oi encoding problem