fixes the way plugin resolves download location