fixes upload and download module
removes upload debug output...