fix on migration