checking special chars in input