Fix server field not getting set for uploads