this should fix startup problems when upload function is disabled
hopefully now ends with strange bugs ...