download attribute bugfix