rollback state hack