fix cached version copy