hopefully fixes karma with detectives

starts at line 170