Fixing IPN detection