modify validate for roma configure

Please confirm it.