downloadWindow fix