fixed validation spelling check bug