added check url before setting value