Fixed error when image url is null