make compatible with latest @download resource