Fix online resource handling