fixed empty validator message error, added error messaege for isEmpty api documantation