fix issue https://github.com/Mavrin/maskInput/issues/6