fix for autoupload