modify validate for roma configure