tweak perforation detection