Fixed translation cache bug