fixed bug in conditional for downloadnew