handle old modules better in migration