* made alerts easier to use * better clear message * added missing logic to realm form * format * fixed types * fixed test * fix merge error