Fix issue when app crash if image url is invalid