Fixed compatibility detection