detect: Fixing import