the type checking is too strict to web form inputs