Fixed online url by using getOnlineUrl() method