add back init to custom realm