fixed migrate