Fix creation of downloads