debug for download