fix validation pattern