fixing uploads