fix for core migrations