migrate fix