fixed download issues + wakelock