Fix problem with uploading assets (issue #43)