Fixed compatibility issue for release versions