fixed bug in periodic revision code path