Fixing upload paths