fixes for background downloads