detection tweaks