fixed issue in migration