Fix program cache bug.