fix type field in downloads.