some fixes for downloads-directory