fix validation regexp