improved resolving url (added case when empty url specified)