BUG FIX uploading to wrong directory