Hacks for mango migration