fixed a validation regex