more exception handling and bug solving of cyclone_debug + file upload