removing usage of php idn function