allow hypens in the default input box validation

Closes issue #44