Possible fix for upload problem