Fixed issue on realms with spaces on their names