fix profile migration