fix upload paths