Attempted to fix some strange error during migrate