modify validate rule