paranoid pirates added
for newer delphi versions