tweak to detection