fix realms