fix cache migration