fix to new.pas