upload fix with headers