fix bug for https://github.com/why520crazy/angular-w5c-validator/issues/6