add devalidate feature