hopefully fix api uploads