reverted detection