initial uploading support
small code change