upload bugfixed