fixes for download scheduler