modify imput validation
debugg for IE 9