Fixed loading bug

Fixed loading bug when syncing and downloading