Fixed compatibility issues with ludivine