Fixed download dir issue