added option to revert vecx