Fixed issues migrations